<?php

/**
 * 
 */
class Checklogin extends CI_Controller {

    function __construct() {
        parent::__construct();
    }

    public function check() {
        if (!$this->session->userdata("sess_user_id")) {
            $this->load->view('templates/login_required');
        }
    }

}

?>